package org.example.hospital_registration_system.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


import java.time.LocalDateTime;
import java.util.Date;

@Data
public class AppointmentRelation {
    private Integer relationId;
    private Integer userId;
    private String userName;
    private Integer doctorId;
    private String doctorName;
    private Integer level;
    private Integer departmentId;
    private String departmentName;
    private Integer status;
    private String statusZT;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private String appointmentDate;
    private Integer appointmentTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
    private Integer isDeleted;
    private String remark;
}